Skip to content

V 2.2.0: added some checks to avoid deprecated errors or missing values#1

Open
trendschau wants to merge 1 commit into
gchiesa:mainfrom
typemill-resources:fix-rss-warnings
Open

V 2.2.0: added some checks to avoid deprecated errors or missing values#1
trendschau wants to merge 1 commit into
gchiesa:mainfrom
typemill-resources:fix-rss-warnings

Conversation

@trendschau
Copy link
Copy Markdown

added some checks like:

  • if (isset($itemMeta['meta']['hide']) && $itemMeta['meta']['hide'])
  • 'description' => isset($itemMeta['meta']['description']) ? htmlspecialchars($itemMeta['meta']['description'], ENT_XML1) : '',
  • and similar

sorry, my code formatting might mess the diff view with irrelevant changes. I will upload the new version tomorrow, would be great if you accept the PR or update it with your own fixes.

Related to issue: typemill/typemill#544

Best regards
Sebastian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant